﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Editor.aspx.cs" ValidateRequest="false" EnableViewState="false" Inherits="Web.View.publishNews.Editor" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<%@ Register Src="../UserControls/Editor.ascx" TagName="Editor" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 50px;
        }
    </style>
</head>
<body style="background-color: #DFE8F6; text-align: center; font-size:12px; padding:10px;">
    <form id="form1" runat="server"><ext:ResourceManager ID="ResourceManager1" runat="server" />
    <table width="100%">
        <tr>
            <td class="style1">
                类别：
            </td>
            <td style="text-align: left">
                <asp:DropDownList ID="cboClassify" runat="server" Width="102px">
                    <asp:ListItem Selected="True">通知公告</asp:ListItem>
                    <asp:ListItem>新闻资讯</asp:ListItem>
                    <asp:ListItem>常用文件</asp:ListItem>
                     </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style1">
                标题：
            </td>
            <td style="text-align: left">
                
                <asp:TextBox ID="TxtTitle" runat="server" Width="295px"></asp:TextBox>
                
            </td>
        </tr>
        <tr>
            <td class="style1">
                内容：
            </td>
            <td style="text-align: left">
                <uc1:Editor ID="EditorContent" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="style1">
                备注：
            </td>
            <td style="text-align: left">
                <asp:TextBox ID="TxtDesc" runat="server" Width="295px"></asp:TextBox>
            </td>
        </tr>
        
    </table>
    <table align="right">
        <tr>
            <td align="right" >
                <ext:Button Text="提交" ID="BtnSave" Width="80" runat="server" Icon="Disk" 
                    ondirectclick="BtnSave_DirectClick">
                    <DirectEvents>
                        <Click OnEvent="BtnSave_DirectClick" Success="parent.News_Win.hide();parent.News_Grid.reload();">
                            <EventMask ShowMask="true" Msg="正在提交，请等候 ..." />
                        </Click>
                    </DirectEvents>
                </ext:Button> </td><td>
                <ext:Button Text="关闭" ID="Button1" Width="80" runat="server" Icon="Delete">
                    <Listeners>
                        <Click Handler="parent.News_Win.hide();" />
                    </Listeners>
                </ext:Button>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
